package com.apache.audit.entity;

import com.apache.api.entity.BaseEntity;

@SuppressWarnings("serial")
public class LogOperation extends BaseEntity {

	private String logId;
	private String modelId;//模型ID
	private String logType;//日志类型（新增，修改，删除）
	private String orgId;//机构ID
	private String orgEname;//机构名称
	private Long createdTime;//操作时间
	private String createUser;//操作人
	private String logIp;//操作IP
	private String primaryKey;//模型主键值

	public String getLogId() {
		return this.logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	public String getModelId() {
		return this.modelId;
	}

	public void setModelId(String modelId) {
		this.modelId = modelId;
	}

	public String getLogType() {
		return this.logType;
	}

	public void setLogType(String logType) {
		this.logType = logType;
	}

	public Long getCreatedTime() {
		return this.createdTime;
	}

	public void setCreatedTime(Long createdTime) {
		this.createdTime = createdTime;
	}

	public String getCreateUser() {
		return this.createUser;
	}

	public void setCreateUser(String createUser) {
		this.createUser = createUser;
	}

	public String getLogIp() {
		return logIp;
	}

	public void setLogIp(String logIp) {
		this.logIp = logIp;
	}

	public String getOrgId() {
		return orgId;
	}

	public void setOrgId(String orgId) {
		this.orgId = orgId;
	}

	public String getOrgEname() {
		return orgEname;
	}

	public void setOrgEname(String orgEname) {
		this.orgEname = orgEname;
	}

	public String getPrimaryKey() {
		return primaryKey;
	}

	public void setPrimaryKey(String primaryKey) {
		this.primaryKey = primaryKey;
	}

	public String toString() {
		StringBuffer sb = new StringBuffer();
		sb.append("logId=" + this.logId + ";");
		sb.append("modelId=" + this.modelId + ";");
		sb.append("logType=" + this.logType + ";");
		sb.append("createdTime=" + this.createdTime + ";");
		sb.append("createUser=" + this.createUser + ";");
		sb.append("logIp=" + this.logIp + ";");
		return sb.toString();
	}

}
